package com.aaa.hookdemo;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.aaa.hookdemo.hook_click_listener.HookOnClickListener;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        new HookOnClickListener().doHook(findViewById(R.id.text_view));
    }

    public void jump(View view) {
        startActivity(new Intent(this, Main2Activity.class));
    }
}
